import PageTools from '@/components/PageTools/index.vue'
import UploadExcel from './UploadExcel/index.vue'
import ImageUpload from './imageUpload/index.vue'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull/index.vue'
import ThemePicker from './ThemePicker/index.vue'
import Lang from './Lang/index.vue'
import TagsView from './TagsView'

export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    // 全屏
    Vue.component('ScreenFull', ScreenFull)
    // 主题
    Vue.component('ThemePicker', ThemePicker)
    // 语言包
    Vue.component('Lang', Lang)
    // 分页引入
    Vue.component('TagsView', TagsView)

    // 安装打印插件
    Vue.use(Print)
  }
}
